package designerMode.observe;

/**
 * @author liuchaoqun
 * @date 2022/9/12
 * @Description
 */
public class FirstObserve extends Observe{

    public FirstObserve(Subject subject) {
        this.subject = subject;
        this.subject.attach(this);
    }

    @Override
    public void Update() {
        System.out.println("第一个观察者收到了通知");

    }
}
